package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 城市配送订单
 *
 * @author huangtao
 */
@TableName(value = "glc_city_order")
public class CityOrder implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_id")
    private Long batchId; //批次号

    @TableField(value = "name")
    private String name;

    @TableField(value = "order_positive")
    private Integer orderPositive;

    @TableField(value = "lng1")
    private String lng1;

    @TableField(value = "lat1")
    private String lat1;

    @TableField(value = "type")
    private Integer type;

    @TableField(value = "distribution_center")
    private String distributionCenter;

    @TableField(value = "lng2")
    private String lng2;

    @TableField(value = "lat2")
    private String lat2;

    @TableField(value = "factory")
    private String factory;

    @TableField(value = "order_recovery")
    private Integer orderRecovery;

    @TableField(value = "operator_id")
    private Long operatorId;//操作人

    @TableField(value = "create_time")
    private Date createTime; //创建日期

    @TableField(exist = false)
    private String batchName; //批次名称

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrderPositive() {
        return orderPositive;
    }

    public void setOrderPositive(Integer orderPositive) {
        this.orderPositive = orderPositive;
    }

    public Integer getOrderRecovery() {
        return orderRecovery;
    }

    public void setOrderRecovery(Integer orderRecovery) {
        this.orderRecovery = orderRecovery;
    }

    public String getLng1() {
        return lng1;
    }

    public void setLng1(String lng1) {
        this.lng1 = lng1;
    }

    public String getLat1() {
        return lat1;
    }

    public void setLat1(String lat1) {
        this.lat1 = lat1;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDistributionCenter() {
        return distributionCenter;
    }

    public void setDistributionCenter(String distributionCenter) {
        this.distributionCenter = distributionCenter;
    }

    public String getLng2() {
        return lng2;
    }

    public void setLng2(String lng2) {
        this.lng2 = lng2;
    }

    public String getLat2() {
        return lat2;
    }

    public void setLat2(String lat2) {
        this.lat2 = lat2;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }


    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
